=begin
** Form generated from reading ui file 'Rules.ui'
**
** Created: Wed Aug 21 19:09:29 2013
**      by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
=end

#class Ui_MainWindow
class Ui_Rules_MainWindow
    attr_reader :centralwidget
    attr_reader :gridLayout_4
    attr_reader :frame
    attr_reader :pushButton_3
    attr_reader :pushButton_4
    attr_reader :pushButton_7
    attr_reader :pushButton_8
    attr_reader :pushButton_6
    attr_reader :pushButton_5
    attr_reader :pushButton
    attr_reader :pushButton_2
    attr_reader :pushButton_9
    attr_reader :pushButton_10
    attr_reader :pushButton_11
    attr_reader :pushButton_12
    attr_reader :listWidget_5
    attr_reader :label_5
    attr_reader :listWidget_2
    attr_reader :label_2
    attr_reader :label_3
    attr_reader :listWidget_3
    attr_reader :label_4
    attr_reader :listWidget_4
    attr_reader :listWidget_7
    attr_reader :label_6
    attr_reader :label
    attr_reader :listWidget
    attr_reader :label_7
    attr_reader :listWidget_6
    attr_reader :lineEdit
    attr_reader :lineEdit_2
    attr_reader :lineEdit_3
    attr_reader :lineEdit_4
    attr_reader :lineEdit_5
    attr_reader :lineEdit_6
    attr_reader :lineEdit_7

    def setupUi(mainWindow)
    if mainWindow.objectName.nil?
        mainWindow.objectName = "mainWindow"
    end
    mainWindow.resize(917, 381)
    @centralwidget = Qt::Widget.new(mainWindow)
    @centralwidget.objectName = "centralwidget"
    @gridLayout_4 = Qt::GridLayout.new(@centralwidget)
    @gridLayout_4.objectName = "gridLayout_4"
    @frame = Qt::Frame.new(@centralwidget)
    @frame.objectName = "frame"
    @frame.frameShape = Qt::Frame::StyledPanel
    @frame.frameShadow = Qt::Frame::Raised
    @pushButton_3 = Qt::PushButton.new(@frame)
    @pushButton_3.objectName = "pushButton_3"
    @pushButton_3.geometry = Qt::Rect.new(10, 330, 21, 27)
    @pushButton_4 = Qt::PushButton.new(@frame)
    @pushButton_4.objectName = "pushButton_4"
    @pushButton_4.geometry = Qt::Rect.new(30, 330, 21, 27)
    @pushButton_7 = Qt::PushButton.new(@frame)
    @pushButton_7.objectName = "pushButton_7"
    @pushButton_7.geometry = Qt::Rect.new(50, 330, 21, 27)
    @pushButton_8 = Qt::PushButton.new(@frame)
    @pushButton_8.objectName = "pushButton_8"
    @pushButton_8.geometry = Qt::Rect.new(70, 330, 21, 27)
    @pushButton_6 = Qt::PushButton.new(@frame)
    @pushButton_6.objectName = "pushButton_6"
    @pushButton_6.geometry = Qt::Rect.new(290, 330, 31, 27)
    @pushButton_5 = Qt::PushButton.new(@frame)
    @pushButton_5.objectName = "pushButton_5"
    @pushButton_5.geometry = Qt::Rect.new(320, 330, 31, 27)
    @pushButton = Qt::PushButton.new(@frame)
    @pushButton.objectName = "pushButton"
    @pushButton.geometry = Qt::Rect.new(350, 330, 21, 27)
    @pushButton_2 = Qt::PushButton.new(@frame)
    @pushButton_2.objectName = "pushButton_2"
    @pushButton_2.geometry = Qt::Rect.new(370, 330, 21, 27)
    @pushButton_9 = Qt::PushButton.new(@frame)
    @pushButton_9.objectName = "pushButton_9"
    @pushButton_9.geometry = Qt::Rect.new(390, 330, 21, 27)
    @pushButton_10 = Qt::PushButton.new(@frame)
    @pushButton_10.objectName = "pushButton_10"
    @pushButton_10.geometry = Qt::Rect.new(410, 330, 21, 27)
    @pushButton_11 = Qt::PushButton.new(@frame)
    @pushButton_11.objectName = "pushButton_11"
    @pushButton_11.geometry = Qt::Rect.new(430, 330, 21, 27)
    @pushButton_12 = Qt::PushButton.new(@frame)
    @pushButton_12.objectName = "pushButton_12"
    @pushButton_12.geometry = Qt::Rect.new(450, 330, 21, 27)
    @listWidget_5 = Qt::ListWidget.new(@frame)
    @listWidget_5.objectName = "listWidget_5"
    @listWidget_5.geometry = Qt::Rect.new(290, 30, 41, 261)
    @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Ignored, Qt::SizePolicy::Expanding)
    @sizePolicy.setHorizontalStretch(0)
    @sizePolicy.setVerticalStretch(0)
    @sizePolicy.heightForWidth = @listWidget_5.sizePolicy.hasHeightForWidth
    @listWidget_5.sizePolicy = @sizePolicy
    @label_5 = Qt::Label.new(@frame)
    @label_5.objectName = "label_5"
    @label_5.geometry = Qt::Rect.new(290, 10, 41, 17)
    @sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::Fixed, Qt::SizePolicy::Preferred)
    @sizePolicy1.setHorizontalStretch(0)
    @sizePolicy1.setVerticalStretch(0)
    @sizePolicy1.heightForWidth = @label_5.sizePolicy.hasHeightForWidth
    @label_5.sizePolicy = @sizePolicy1
    @listWidget_2 = Qt::ListWidget.new(@frame)
    @listWidget_2.objectName = "listWidget_2"
    @listWidget_2.geometry = Qt::Rect.new(330, 30, 81, 261)
    @sizePolicy.heightForWidth = @listWidget_2.sizePolicy.hasHeightForWidth
    @listWidget_2.sizePolicy = @sizePolicy
    @label_2 = Qt::Label.new(@frame)
    @label_2.objectName = "label_2"
    @label_2.geometry = Qt::Rect.new(340, 10, 51, 17)
    @sizePolicy2 = Qt::SizePolicy.new(Qt::SizePolicy::Minimum, Qt::SizePolicy::Preferred)
    @sizePolicy2.setHorizontalStretch(0)
    @sizePolicy2.setVerticalStretch(0)
    @sizePolicy2.heightForWidth = @label_2.sizePolicy.hasHeightForWidth
    @label_2.sizePolicy = @sizePolicy2
    @label_3 = Qt::Label.new(@frame)
    @label_3.objectName = "label_3"
    @label_3.geometry = Qt::Rect.new(420, 10, 21, 17)
    @listWidget_3 = Qt::ListWidget.new(@frame)
    @listWidget_3.objectName = "listWidget_3"
    @listWidget_3.geometry = Qt::Rect.new(410, 30, 221, 261)
    @sizePolicy3 = Qt::SizePolicy.new(Qt::SizePolicy::Fixed, Qt::SizePolicy::Expanding)
    @sizePolicy3.setHorizontalStretch(0)
    @sizePolicy3.setVerticalStretch(0)
    @sizePolicy3.heightForWidth = @listWidget_3.sizePolicy.hasHeightForWidth
    @listWidget_3.sizePolicy = @sizePolicy3
    @label_4 = Qt::Label.new(@frame)
    @label_4.objectName = "label_4"
    @label_4.geometry = Qt::Rect.new(640, 10, 41, 17)
    @listWidget_4 = Qt::ListWidget.new(@frame)
    @listWidget_4.objectName = "listWidget_4"
    @listWidget_4.geometry = Qt::Rect.new(630, 30, 91, 261)
    @sizePolicy.heightForWidth = @listWidget_4.sizePolicy.hasHeightForWidth
    @listWidget_4.sizePolicy = @sizePolicy
    @listWidget_7 = Qt::ListWidget.new(@frame)
    @listWidget_7.objectName = "listWidget_7"
    @listWidget_7.geometry = Qt::Rect.new(720, 30, 91, 261)
    @sizePolicy.heightForWidth = @listWidget_7.sizePolicy.hasHeightForWidth
    @listWidget_7.sizePolicy = @sizePolicy
    @label_6 = Qt::Label.new(@frame)
    @label_6.objectName = "label_6"
    @label_6.geometry = Qt::Rect.new(730, 10, 51, 17)
    @label = Qt::Label.new(@frame)
    @label.objectName = "label"
    @label.geometry = Qt::Rect.new(10, 10, 111, 17)
    @listWidget = Qt::ListWidget.new(@frame)
    @listWidget.objectName = "listWidget"
    @listWidget.geometry = Qt::Rect.new(10, 30, 271, 298)
    @sizePolicy4 = Qt::SizePolicy.new(Qt::SizePolicy::Preferred, Qt::SizePolicy::Expanding)
    @sizePolicy4.setHorizontalStretch(0)
    @sizePolicy4.setVerticalStretch(0)
    @sizePolicy4.heightForWidth = @listWidget.sizePolicy.hasHeightForWidth
    @listWidget.sizePolicy = @sizePolicy4
    @label_7 = Qt::Label.new(@frame)
    @label_7.objectName = "label_7"
    @label_7.geometry = Qt::Rect.new(820, 10, 71, 17)
    @listWidget_6 = Qt::ListWidget.new(@frame)
    @listWidget_6.objectName = "listWidget_6"
    @listWidget_6.geometry = Qt::Rect.new(810, 30, 81, 261)
    @sizePolicy.heightForWidth = @listWidget_6.sizePolicy.hasHeightForWidth
    @listWidget_6.sizePolicy = @sizePolicy
    @lineEdit = Qt::LineEdit.new(@frame)
    @lineEdit.objectName = "lineEdit"
    @lineEdit.geometry = Qt::Rect.new(100, 330, 181, 27)
    @lineEdit_2 = Qt::LineEdit.new(@frame)
    @lineEdit_2.objectName = "lineEdit_2"
    @lineEdit_2.geometry = Qt::Rect.new(290, 300, 41, 27)
    @lineEdit_3 = Qt::LineEdit.new(@frame)
    @lineEdit_3.objectName = "lineEdit_3"
    @lineEdit_3.geometry = Qt::Rect.new(330, 300, 81, 27)
    @lineEdit_4 = Qt::LineEdit.new(@frame)
    @lineEdit_4.objectName = "lineEdit_4"
    @lineEdit_4.geometry = Qt::Rect.new(410, 300, 221, 27)
    @lineEdit_5 = Qt::LineEdit.new(@frame)
    @lineEdit_5.objectName = "lineEdit_5"
    @lineEdit_5.geometry = Qt::Rect.new(630, 300, 91, 27)
    @lineEdit_6 = Qt::LineEdit.new(@frame)
    @lineEdit_6.objectName = "lineEdit_6"
    @lineEdit_6.geometry = Qt::Rect.new(720, 300, 91, 27)
    @lineEdit_7 = Qt::LineEdit.new(@frame)
    @lineEdit_7.objectName = "lineEdit_7"
    @lineEdit_7.geometry = Qt::Rect.new(810, 300, 81, 27)
    pushButton_3.raise()
    pushButton_4.raise()
    pushButton_7.raise()
    pushButton_8.raise()
    pushButton_6.raise()
    pushButton_5.raise()
    pushButton.raise()
    pushButton_2.raise()
    pushButton_9.raise()
    pushButton_10.raise()
    pushButton_11.raise()
    pushButton_12.raise()
    label_5.raise()
    label_2.raise()
    listWidget_5.raise()
    label_5.raise()
    listWidget_2.raise()
    label_2.raise()
    listWidget_3.raise()
    label_3.raise()
    listWidget_3.raise()
    label_4.raise()
    listWidget_4.raise()
    listWidget_7.raise()
    label_6.raise()
    label.raise()
    listWidget.raise()
    label_7.raise()
    listWidget_6.raise()
    lineEdit.raise()
    lineEdit_2.raise()
    lineEdit_3.raise()
    lineEdit_4.raise()
    lineEdit_5.raise()
    lineEdit_6.raise()
    lineEdit_7.raise()

    @gridLayout_4.addWidget(@frame, 0, 0, 2, 1)

    mainWindow.centralWidget = @centralwidget

    retranslateUi(mainWindow)

    Qt::MetaObject.connectSlotsByName(mainWindow)
    end # setupUi

    def setup_ui(mainWindow)
        setupUi(mainWindow)
    end

    def retranslateUi(mainWindow)
    mainWindow.windowTitle = Qt::Application.translate("MainWindow", "Rules_MainWindow", nil, Qt::Application::UnicodeUTF8)
    @pushButton_3.toolTip = Qt::Application.translate("MainWindow", "Add a new application.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_3.text = Qt::Application.translate("MainWindow", "+", nil, Qt::Application::UnicodeUTF8)
    @pushButton_4.toolTip = Qt::Application.translate("MainWindow", "Delete selected application", nil, Qt::Application::UnicodeUTF8)
    @pushButton_4.text = Qt::Application.translate("MainWindow", "-", nil, Qt::Application::UnicodeUTF8)
    @pushButton_7.toolTip = Qt::Application.translate("MainWindow", "Move application up.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_7.text = Qt::Application.translate("MainWindow", "\342\206\221", nil, Qt::Application::UnicodeUTF8)
    @pushButton_8.toolTip = Qt::Application.translate("MainWindow", "Move application down.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_8.text = Qt::Application.translate("MainWindow", "\342\206\223", nil, Qt::Application::UnicodeUTF8)
    @pushButton_6.toolTip = Qt::Application.translate("MainWindow", "Update all rules.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_6.text = Qt::Application.translate("MainWindow", "\342\206\272", nil, Qt::Application::UnicodeUTF8)
    @pushButton_5.toolTip = Qt::Application.translate("MainWindow", "Edit selected rule.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_5.text = Qt::Application.translate("MainWindow", "\342\214\250", nil, Qt::Application::UnicodeUTF8)
    @pushButton.toolTip = Qt::Application.translate("MainWindow", "Add a new rule.", nil, Qt::Application::UnicodeUTF8)
    @pushButton.text = Qt::Application.translate("MainWindow", "+", nil, Qt::Application::UnicodeUTF8)
    @pushButton_2.toolTip = Qt::Application.translate("MainWindow", "Delete selected rule.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_2.text = Qt::Application.translate("MainWindow", "-", nil, Qt::Application::UnicodeUTF8)
    @pushButton_9.toolTip = Qt::Application.translate("MainWindow", "Move rule up.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_9.text = Qt::Application.translate("MainWindow", "\342\206\221", nil, Qt::Application::UnicodeUTF8)
    @pushButton_10.toolTip = Qt::Application.translate("MainWindow", "Move rule down.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_10.text = Qt::Application.translate("MainWindow", "\342\206\223", nil, Qt::Application::UnicodeUTF8)
    @pushButton_11.toolTip = Qt::Application.translate("MainWindow", "Copy rule to buffer.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_11.text = Qt::Application.translate("MainWindow", "\342\207\243", nil, Qt::Application::UnicodeUTF8)
    @pushButton_12.toolTip = Qt::Application.translate("MainWindow", "Add new rule from buffer.", nil, Qt::Application::UnicodeUTF8)
    @pushButton_12.text = Qt::Application.translate("MainWindow", "\342\207\241", nil, Qt::Application::UnicodeUTF8)
    @listWidget_5.toolTip = Qt::Application.translate("MainWindow", "Trust list, 1 is allowed, 0 is blocked.", nil, Qt::Application::UnicodeUTF8)
    @label_5.text = Qt::Application.translate("MainWindow", "Trust:", nil, Qt::Application::UnicodeUTF8)
    @listWidget_2.toolTip = Qt::Application.translate("MainWindow", "Actions list.", nil, Qt::Application::UnicodeUTF8)
    @label_2.text = Qt::Application.translate("MainWindow", "Action:", nil, Qt::Application::UnicodeUTF8)
    @label_3.text = Qt::Application.translate("MainWindow", "IP:", nil, Qt::Application::UnicodeUTF8)
    @listWidget_3.toolTip = Qt::Application.translate("MainWindow", "IPs list.", nil, Qt::Application::UnicodeUTF8)
    @label_4.text = Qt::Application.translate("MainWindow", "Port:", nil, Qt::Application::UnicodeUTF8)
    @listWidget_4.toolTip = Qt::Application.translate("MainWindow", "Port list.", nil, Qt::Application::UnicodeUTF8)
    @listWidget_7.toolTip = Qt::Application.translate("MainWindow", "Family list.", nil, Qt::Application::UnicodeUTF8)
    @label_6.text = Qt::Application.translate("MainWindow", "Family:", nil, Qt::Application::UnicodeUTF8)
    @label.text = Qt::Application.translate("MainWindow", "Applications:", nil, Qt::Application::UnicodeUTF8)
    @listWidget.toolTip = Qt::Application.translate("MainWindow", "List of applications.", nil, Qt::Application::UnicodeUTF8)
    @label_7.text = Qt::Application.translate("MainWindow", "Protocol:", nil, Qt::Application::UnicodeUTF8)
    @listWidget_6.toolTip = Qt::Application.translate("MainWindow", "Protocol list.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit.toolTip = Qt::Application.translate("MainWindow", "Filter applications.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_2.toolTip = Qt::Application.translate("MainWindow", "Filter trust.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_3.toolTip = Qt::Application.translate("MainWindow", "Filter action.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_4.toolTip = Qt::Application.translate("MainWindow", "Filter IP.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_5.toolTip = Qt::Application.translate("MainWindow", "Filter port.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_6.toolTip = Qt::Application.translate("MainWindow", "Filter family.", nil, Qt::Application::UnicodeUTF8)
    @lineEdit_7.toolTip = Qt::Application.translate("MainWindow", "Filter protocol.", nil, Qt::Application::UnicodeUTF8)
    end # retranslateUi

    def retranslate_ui(mainWindow)
        retranslateUi(mainWindow)
    end

end

module Ui
    class Rules_MainWindow < Ui_Rules_MainWindow
    end
end  # module Ui

